package com.jsz.peini.mapper.task;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.jsz.peini.bean.task.PartyUser;
import com.jsz.peini.bean.task.PartyUserExample;

public interface PartyUserMapper {
    int countByExample(PartyUserExample example);

    int deleteByExample(PartyUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PartyUser record);

    int insertSelective(PartyUser record);

    List<PartyUser> selectByExample(PartyUserExample example);

    PartyUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PartyUser record, @Param("example") PartyUserExample example);

    int updateByExample(@Param("record") PartyUser record, @Param("example") PartyUserExample example);

    int updateByPrimaryKeySelective(PartyUser record);

    int updateByPrimaryKey(PartyUser record);
    
    List<Map<String,String>> selectPartyUsers(@Param("partyId") Integer partyId);
}